package com.thinkgem.jeesite.modules.book.entity;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

import java.util.Date;

/**
 * 书籍编目
 * Created by aulbrother on 2015/11/25.
 */
public class ExportBookstore extends DataEntity<ExportBookstore>{
    private static final long serialVersionUID = 9174175068669247341L;

    private String banid;
    private String bkId;
    private String bookname;
    private String isbn;
    private String classcode;
    private String className;
    private String author;
    private String publisher;
    private String pubdate;
    private String place;

    @ExcelField(title = "书架号", align = 2, sort = 45)
    private String shelfName;

    private String price;
    // 单册价格
    private String pPrice;
    // 整套价格
    private String tPrice;
    // 采访价格
    private String realPrice;
    // 复本数
    private int amount;
    // 卷册数量
    private int booksAmount;
    // 批次编号
    private Integer pbdId;
    //副题名
    private String othername;
    //丛编
    private String books;
    //分册号
    private String booksnum;

    private Integer totalCount;

    private Date beginDate;		// 开始日期
    private Date endDate;		// 结束日期

    @ExcelField(title = "ISBN", align = 2, sort = 10)
    public String getIsbn(){
        return isbn;
    }

    @ExcelField(title = "题名", align = 2, sort = 20)
    public String getBookname(){
        return bookname;
    }

    @ExcelField(title = "著者", align = 2, sort = 30)
    public String getAuthor(){
        return author;
    }

    @ExcelField(title = "出版社", align = 2, sort = 40)
    public String getPublisher(){
        return publisher;
    }

    @ExcelField(title = "索书号", align = 2, sort = 50)
    public String getBkNumber(){
        return this.classcode + "/" + this.place;
    }

    @ExcelField(title = "定价", align = 2, sort = 60)
    public String getPrice(){
        return price;
    }

    @ExcelField(title = "数量", align = 2, sort = 70)
    public Integer getTotalCount(){
        return totalCount;
    }

    public void setTotalCount(Integer totalCount){
        this.totalCount = totalCount;
    }

    public String getBanid(){
        return banid;
    }

    public void setBanid(String banid){
        this.banid = banid;
    }

    public String getBkId(){
        return bkId;
    }

    public void setBkId(String bkId){
        this.bkId = bkId;
    }

    public void setBookname(String bookname){
        this.bookname = bookname;
    }

    public void setIsbn(String isbn){
        this.isbn = isbn;
    }

    public String getClasscode(){
        return classcode;
    }

    public void setClasscode(String classcode){
        this.classcode = classcode;
    }

    public String getClassName(){
        return className;
    }

    public void setClassName(String className){
        this.className = className;
    }

    public void setAuthor(String author){
        this.author = author;
    }

    public void setPublisher(String publisher){
        this.publisher = publisher;
    }

    public String getPubdate(){
        return pubdate;
    }

    public void setPubdate(String pubdate){
        this.pubdate = pubdate;
    }

    public String getPlace(){
        return place;
    }

    public void setPlace(String place){
        this.place = place;
    }

    public void setPrice(String price){
        this.price = price;
    }

    public String getpPrice(){
        return pPrice;
    }

    public void setpPrice(String pPrice){
        this.pPrice = pPrice;
    }

    public String gettPrice(){
        return tPrice;
    }

    public void settPrice(String tPrice){
        this.tPrice = tPrice;
    }

    public String getRealPrice(){
        return realPrice;
    }

    public void setRealPrice(String realPrice){
        this.realPrice = realPrice;
    }

    public int getAmount(){
        return amount;
    }

    public void setAmount(int amount){
        this.amount = amount;
    }

    public int getBooksAmount(){
        return booksAmount;
    }

    public void setBooksAmount(int booksAmount){
        this.booksAmount = booksAmount;
    }

    public Integer getPbdId(){
        return pbdId;
    }

    public void setPbdId(Integer pbdId){
        this.pbdId = pbdId;
    }

    public String getOthername() {
        return othername;
    }

    public void setOthername(String othername) {
        this.othername = othername;
    }

    public String getBooks() {
        return books;
    }

    public void setBooks(String books) {
        this.books = books;
    }

    public String getBooksnum() {
        return booksnum;
    }

    public void setBooksnum(String booksnum) {
        this.booksnum = booksnum;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public String getShelfName(){
        return shelfName;
    }

    public void setShelfName(String shelfName){
        this.shelfName = shelfName;
    }
}
